]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Set minRows to 3 in folder dialog grid
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 5 Jun 2020 03:29:35 +0000 (00:29 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 9 Jun 2020 19:14:30 +0000 (16:14 -0300)
It gives the folder dialog a better layout overall. This is
going to be replaced in the future by the new icon grid code,
but it's a good improvement to have until there.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1301

js/ui/appDisplay.js

index d8e897d5cb2cc72526edd3303aacd7cd90eaa5df..3dd62dfc5e5240c18778dab0e69aa8c20f64f4be 100644 (file)
@@ -1028,7 +1028,7 @@ class FolderView extends BaseAppView {
             x_expand: true,
             y_expand: true,
         }, {
-            minRows: 1,
+            minRows: 3,
         });
 
         // If it not expand, the parent doesn't take into account its preferred_width when allocating